package com.java.demo8;

public class Test01 {
    public static void main(String[] args) {

        Animal dog = new Dog();
        dog.eat();

        Animal cat = new Cat();
        cat.eat();
    }
}
